<link rel="stylesheet" type="text/css" href="{:CSS}morris.min.css">
<div class="row">
	<div class="col-md-3">
	    <div class="panel panel-primary text-center no-boder bg-color-green">
	        <div class="panel-body"><i class="fa fa-bar-chart-o fa-5x"></i><h3>{$data.news_num|default=0}</h3></div>
	        <div class="panel-footer back-footer-green"><a href="{:U('Admin/News/index_all')}" style="color:#fff;">新闻管理</a></div>
	    </div>
	</div>
	<div class="col-md-3">
	    <div class="panel panel-primary text-center no-boder bg-color-blue">
	        <div class="panel-body"><i class="fa fa-cog fa-5x"></i><h3>{$data.classify_num|default=0}</h3></div>
	        <div class="panel-footer back-footer-blue"><a href="{:U('Admin/Classify/index')}" style="color:#fff;">分类管理</a></div>
	    </div>
	</div>
    <div class="col-md-3">
        <div class="panel panel-primary text-center no-boder bg-color-brown">
            <div class="panel-body"><i class="fa fa-list fa-5x"></i><h3>{$data.admins_num|default=0}</h3></div>
            <div class="panel-footer back-footer-brown"><a href="{:U('Admin/News/index_ds')}" style="color:#fff;">待审核新闻</a></div>
        </div>
    </div>
	<div class="col-md-3">
	    <div class="panel panel-primary text-center no-boder bg-color-red">
	        <div class="panel-body"><i class="fa fa fa-comments fa-5x"></i><h3>{$data.message_num|default=0}</h3></div>
	        <div class="panel-footer back-footer-red"><a href="{:U('Admin/News/tongji')}" style="color:#fff;">新闻统计</a></div>
	    </div>
	</div>

</div>
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">最新新闻</div> 
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>栏目</th>
                                <th>标题</th>
                                <th>发布时间</th>
                                <th>点击量</th>
                            </tr>
                        </thead>
                        <tbody>
                         <empty name="list1">
                            <tr><td colspan="4" align="center">暂无信息</td></tr>
                        </empty>
                            <volist name="list1" id="list1">
                                <tr>
                                    <td>{$list1.name}</td>
                                    <td><a href="{:U('Home/Index/newsCount?id', array('id' => $list1['id'], 'ori_id' => $list1['pid']))}" style="color:#000;" target="_blank">{$list1.title}</a></td>
                                    <td>{$list1.times|date='Y-m-d H:i:s', ###}</td>
                                    <td>{$list1.view}</td>
                                </tr>
                            </volist>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <!-- <div class="panel panel-default">
            <div class="panel-heading">最新留言</div> 
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>姓名</th>
                                <th>联系方式</th>
                                <th>留言时间</th>
                                <th>状态</th>
                            </tr>
                        </thead>
                        <tbody>
                            <volist name="list2" id="list2">
                                <tr>
                                    <td>{$list2.name}</td>
                                    <td>{$list2.phone}</td>
                                    <td>{$list2.times|date="Y-m-d H:i:s", ###}</td>
                                    <td><empty name='list2.reply_time'>未<else/>已</empty>回复</td>
                                </tr>
                            </volist>
                        </tbody>
                    </table>
                </div>
            </div>
        </div> -->
    </div>
</div>